<template>
  <div>
    <detail-header :mydetailData='detailData'></detail-header>
  <router-view></router-view>
  </div>
</template>

<script>
import detailHeader from "./detail_header";
export default {
  props: {},
  data() {
    return {
    detailData: []
    };
  },
  computed: {},
  created() {
    this.getData();
  },
  mounted() {},
  watch: {},
  methods: {
    getData() {
      this.$axios
        .get("wiperdata")
        .then(res => {
            console.log(res.data)
          this.detailData = res.data;
        });
    }
  },
  components: {
    detailHeader
  }
};
</script >

<style scoped lang='less'>
</style>
